from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import *

router = DefaultRouter()
router.register('siteinfo', SiteInfoViewSet)
router.register('friendlink', FriendLinkViewSet)
router.register('carousel', CarouselViewSet)
router.register('announcement', AnnouncementViewSet)
router.register('menu', MenuViewSet)
urlpatterns = [
    path('', include(router.urls)),
    path('sentence', get_daily_sentence),
    path('date', get_date_info),
    path('dashboard/', dashboard, name='dashboard'),

]
